Skip to content

[Refactor] Share RayCluster across mTLS e2e checks - #5097

Open
HsiaoHungKai wants to merge 5 commits into
ray-project:masterfrom
HsiaoHungKai:refactor/raycluster-tls-e2e-cluster-setup
Open

[Refactor] Share RayCluster across mTLS e2e checks#5097
HsiaoHungKai wants to merge 5 commits into
ray-project:masterfrom
HsiaoHungKai:refactor/raycluster-tls-e2e-cluster-setup

Conversation

@HsiaoHungKai

Copy link
Copy Markdown

Why are these changes needed?

The auto-generated mTLS E2E test previously created separate RayClusters for each validation. This PR reuses a single RayCluster to reduce redundant cluster setup while preserving the existing test coverage.

Related issue number

Part of #5048

Follow-up to this review comment

Labels

  • If this PR has user-facing changes that require documentation updates at release time, I have added the doc-updates-required label.
  • If this PR contains breaking changes, I have added the breaking-change label.

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • This PR is not tested :(

Manual test instructions

Ran the TestRayClusterTLSAutoGenerate E2E test successfully:

PASS
ok  	github.com/ray-project/kuberay/ray-operator/test/e2e	312.627s

Signed-off-by: HungKai Hsiao <hsiaohungkai@gmail.com>
Signed-off-by: HungKai Hsiao <hsiaohungkai@gmail.com>
@HsiaoHungKai
HsiaoHungKai marked this pull request as ready for review August 6, 2026 05:47
@HsiaoHungKai

Copy link
Copy Markdown
Author

@machichima Please take a look.

Comment thread ray-operator/test/e2e/raycluster_tls_test.go Outdated

@win5923 win5923 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you fix the lint error? Thanks

Signed-off-by: HungKai Hsiao <hsiaohungkai@gmail.com>
Comment thread ray-operator/test/e2e/raycluster_tls_test.go
Signed-off-by: HungKai Hsiao <hsiaohungkai@gmail.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

Reviewed by Cursor Bugbot for commit be5ecae. Configure here.

Comment thread ray-operator/test/e2e/raycluster_tls_test.go Outdated
…ut after long run

Signed-off-by: HungKai Hsiao <hsiaohungkai@gmail.com>

@win5923 win5923 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! cc @rueian and @andrewsykim to merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants